FROM openjdk:8-jre-alpine
COPY build/libs/*.jar app.jar
ENV TZ=Asia/Shanghai JAVA_OPTS="-Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom"
CMD java -jar app.jar $JAVA_OPTS